home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1997 February: Technology Seed / Mac Tech Seed Feb '97.toast / ODF Release 3 / ODF-Interest Archive / December 96 / TextShape bounds.1 < prev    next >
Encoding:
Internet Message Format  |  1996-12-13  |  837 b   |  [TEXT/ttxt]

  1. Subject:     TextShape bounds
  2. Sent:        12/12/96 2:46 PM
  3. Received:    12/12/96 2:54 PM
  4. From:        Scott Daniels, scottdfl@sprynet.com
  5. Reply-To:    ODF Interest, ODF-Interest@CILabs.ORG
  6. To:          OpenDoc Development Framework Discussion List, ODF-Interest@CILabs.
  7.  
  8. Hi,
  9.  
  10. I am using a FW_CTextShape, and calling GetBounds to get its enclosing
  11. rect. The problem I am encountering is the rect returned seems to be
  12. dependant on the view's transform (I am using the view's graphic context
  13. for the GetBounds call).
  14.  
  15. Is this problem an ODF bug, or am I misusing GetBounds? In either event,
  16. what is the best way to determine the enclosing rect of a textshape in the
  17. current view regardless of its scale and offset due to scrolling?
  18.  
  19. Many thanks,
  20.  
  21. Scott Daniels             scottdfl@sprynet.com
  22. "Life appears the way you choose to see it."
  23.